import java.awt.*;

public class Frame1
{
    public static void main(String[] args) {
        Frame w = new Frame();
        w.setSize(800, 600);
        w.setBackground(Color.BLACK);
        MyPanel mp = new MyPanel();
        w.add(mp);

        w.show();
    }

}

class MyPanel extends Panel
{
    public void paint(Graphics g) {
        g.setColor(Color.WHITE);
        g.setFont(new Font("", 0, 20));
        for (int i = 0; i < 200; i++) {
            Color c = new Color((int)(Math.random()*255), (int)(Math.random()*255), (int)(Math.random()*255));
            g.setColor(c);
            g.drawString("*", (int)(Math.random()*800), (int)(Math.random()*600));
        }
    }
}